#if !defined(AFX_ALARMRECORDCFGDLG_H__36566AF8_6EB7_430F_A64C_D97C9902122E__INCLUDED_)
#define AFX_ALARMRECORDCFGDLG_H__36566AF8_6EB7_430F_A64C_D97C9902122E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// AlarmRecordCfgDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CAlarmRecordCfgDlg dialog

class CAlarmRecordCfgDlg : public CDialog
{
// Construction
public:
	void SaveAlarmState();
	void SaveRecordState();
	void ReflashButton();
	CAlarmRecordCfgDlg(CWnd* pParent = NULL);   // standard constructor
	CString GetSelRecordDriver();
	BOOL	m_bAutoAlarm;
	BOOL	m_bAutoRecord;
// Dialog Data
	//{{AFX_DATA(CAlarmRecordCfgDlg)
	enum { IDD = IDD_ALARMREC_DLG_CFG };
	CDateTimeCtrl	m_DateTimeCtrl;
	CComboBox	m_comboAlmPicDriver;
	CComboBox	m_comboAlmPicJPEGQual;
	CComboBox	m_comboAlmPicJPEGSize;
	CListCtrl	m_list_RecordDriverCtrl;
	CButton	m_CycleRecordCtrl;
	BOOL	m_bCycleRecord;
	int		m_iFileInterVal;
	BOOL	m_bCheckServerTime;
	CTime	m_ctCheckServerTime;
	UINT	m_nAlmPicIntervalCtrl;
	UINT	m_nAlmPicNumCtrl;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAlarmRecordCfgDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CAlarmRecordCfgDlg)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg void OnChecksystime();
	afx_msg void OnBtnSetAlarmPlan();
	afx_msg void OnBtnSetRecordPlan();
	afx_msg void OnBtnStartAutoAlarm();
	afx_msg void OnBtnStopAutoAlarm();
	afx_msg void OnBtnStartAutoRecord();
	afx_msg void OnBtnStopAutoRecord();
	afx_msg void OnBtnSetCycleRecord();
	afx_msg void OnBtnCheckTime();
	afx_msg void OnChkCycleRecord();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ALARMRECORDCFGDLG_H__36566AF8_6EB7_430F_A64C_D97C9902122E__INCLUDED_)
